package com.example.springbootdemo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
public class JHConfig {

    @Value("${jh.url}")
    private String url;

    @Value("${jh.app-id}")
    private String appId;

    @Value("${jh.app-secret}")
    private String appSecret;
}
